|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.core.actions.util.InternalActionSetSection
public class InternalActionSetSection
This is a concrete implementation of IternalActionContainer
that represents a set of action items to be grouped together with
a separator in the menu.
| Constructor Summary | |
|---|---|
InternalActionSetSection(java.lang.String containerId,
java.lang.String name,
SectionConstraint location)
Creates a new InternalActionSetSection with the given
container id, name, and location constraint. |
|
| Method Summary | |
|---|---|
boolean |
addActionItem(InternalActionItem actionItem)
Adds the given action item to the list of items contained in this sub-menu. |
void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menuManager)
Adds this containers actions and child containers to the given menu manager. |
InternalActionItemContainer |
findContainer(java.util.Stack ids)
Locates the container with the given set of ids. |
java.lang.String |
getContainerId()
|
SectionConstraint |
getLocation()
|
java.lang.String |
getName()
|
void |
processSelectionChange(IProvisioningModelSelection selection)
Notifies the section the user selection has changed. |
void |
setSorter(IProvisioningActionItemSorter sorter)
Assigns the given sorter to this action set section. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalActionSetSection(java.lang.String containerId,
java.lang.String name,
SectionConstraint location)
InternalActionSetSection with the given
container id, name, and location constraint.
containerId - name - location - | Method Detail |
|---|
public void setSorter(IProvisioningActionItemSorter sorter)
sorter - The new section sorterpublic boolean addActionItem(InternalActionItem actionItem)
InternalActionItemContainer
addActionItem in interface InternalActionItemContaineractionItem - The item to add.
true if the action was added, false
if another action with the same name is already containedpublic InternalActionItemContainer findContainer(java.util.Stack ids)
InternalActionItemContainer
findContainer in interface InternalActionItemContainerids - A Stack of id strings
public java.lang.String getContainerId()
public java.lang.String getName()
public SectionConstraint getLocation()
public void processSelectionChange(IProvisioningModelSelection selection)
selection - The new user selectionpublic void fillContextMenu(org.eclipse.jface.action.IMenuManager menuManager)
InternalActionItemContainer
fillContextMenu in interface InternalActionItemContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||